.class public Lcom/estrongs/fs/util/e;
.super Lcom/estrongs/fs/util/d;
.source "FileOccupiedSizeCounter.java"


# instance fields
.field private r:J


# direct methods
.method public constructor <init>(Lcom/estrongs/fs/util/d$a;J)V
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/fs/util/d;-><init>(Lcom/estrongs/fs/util/d$a;)V

    .line 4
    iput-wide p2, p0, Lcom/estrongs/fs/util/e;->r:J

    return-void
.end method

.method public constructor <init>(Ljava/io/File;J)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/fs/util/d;-><init>(Ljava/io/File;)V

    .line 2
    iput-wide p2, p0, Lcom/estrongs/fs/util/e;->r:J

    return-void
.end method


# virtual methods
.method protected b(Ljava/io/File;)J
    .locals 8

    .line 1
    iget-wide v0, p0, Lcom/estrongs/fs/util/e;->r:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-nez v4, :cond_0

    .line 2
    invoke-virtual {p1}, Ljava/io/File;->length()J

    move-result-wide v0

    return-wide v0

    .line 3
    :cond_0
    invoke-virtual {p1}, Ljava/io/File;->length()J

    move-result-wide v0

    .line 4
    iget-wide v4, p0, Lcom/estrongs/fs/util/e;->r:J

    rem-long v6, v0, v4

    cmp-long p1, v6, v2

    if-eqz p1, :cond_1

    .line 5
    div-long/2addr v0, v4

    const-wide/16 v2, 0x1

    add-long/2addr v0, v2

    mul-long v0, v0, v4

    :cond_1
    return-wide v0
.end method
